package dto

import "admin-system-go/model"

type UserGroupBaseDTO struct {
	ParentId uint   `json:"parentId" form:"parentId"`
	Name     string `json:"name,omitempty" form:"name"`
	Intro    string `json:"intro,omitempty" form:"intro"`
	State    int8   `json:"state" form:"state"`
}

type UserGroupDelDTO struct {
	UserGroupIds []uint `json:"ids,omitempty" form:"ids"`
}

type UserGroupQueryDTO struct {
	model.Model
	UserGroupBaseDTO
	model.PageQuery
}

type UserGroupUpdateDTO struct {
	model.Model
	UserGroupBaseDTO
}

type UserAddGroupDTO struct {
	Uids         []string
	UserGroupIds []uint
}
